WORST_CASE(?,O(n^3)) * Step 1: DependencyPairs WORST_CASE(?,O(n^3)) + Considered Problem: - Strict TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() shuffle(dd(x,xs)) -> dd(x,shuffle(rev(xs))) shuffle(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1} / {dd/2,nil/0} - Obligation: innermost runtime complexity wrt. defined symbols {@,rev,shuffle} and constructors {dd,nil} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) @#(nil(),ys) -> c_2() rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) rev#(nil()) -> c_4() shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) shuffle#(nil()) -> c_6() Weak DPs and mark the set of starting terms. * Step 2: PredecessorEstimation WORST_CASE(?,O(n^3)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) @#(nil(),ys) -> c_2() rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) rev#(nil()) -> c_4() shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) shuffle#(nil()) -> c_6() - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() shuffle(dd(x,xs)) -> dd(x,shuffle(rev(xs))) shuffle(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {2,4,6} by application of Pre({2,4,6}) = {1,3,5}. Here rules are labelled as follows: 1: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) 2: @#(nil(),ys) -> c_2() 3: rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) 4: rev#(nil()) -> c_4() 5: shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) 6: shuffle#(nil()) -> c_6() * Step 3: RemoveWeakSuffixes WORST_CASE(?,O(n^3)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) - Weak DPs: @#(nil(),ys) -> c_2() rev#(nil()) -> c_4() shuffle#(nil()) -> c_6() - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() shuffle(dd(x,xs)) -> dd(x,shuffle(rev(xs))) shuffle(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:@#(dd(x,xs),ys) -> c_1(@#(xs,ys)) -->_1 @#(nil(),ys) -> c_2():4 -->_1 @#(dd(x,xs),ys) -> c_1(@#(xs,ys)):1 2:S:rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) -->_2 rev#(nil()) -> c_4():5 -->_1 @#(nil(),ys) -> c_2():4 -->_2 rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)):2 -->_1 @#(dd(x,xs),ys) -> c_1(@#(xs,ys)):1 3:S:shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) -->_1 shuffle#(nil()) -> c_6():6 -->_2 rev#(nil()) -> c_4():5 -->_1 shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)):3 -->_2 rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)):2 4:W:@#(nil(),ys) -> c_2() 5:W:rev#(nil()) -> c_4() 6:W:shuffle#(nil()) -> c_6() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 6: shuffle#(nil()) -> c_6() 5: rev#(nil()) -> c_4() 4: @#(nil(),ys) -> c_2() * Step 4: UsableRules WORST_CASE(?,O(n^3)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() shuffle(dd(x,xs)) -> dd(x,shuffle(rev(xs))) shuffle(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: UsableRules + Details: We replace rewrite rules by usable rules: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) * Step 5: DecomposeDG WORST_CASE(?,O(n^3)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: DecomposeDG {onSelection = all below first cut in WDG, onUpper = Nothing, onLower = Nothing} + Details: We decompose the input problem according to the dependency graph into the upper component shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) and a lower component @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) Further, following extension rules are added to the lower component. shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) ** Step 5.a:1: SimplifyRHS WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: SimplifyRHS + Details: Consider the dependency graph 1:S:shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)) -->_1 shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs)),rev#(xs)):1 Due to missing edges in the depndency graph, the right-hand sides of following rules could be simplified: shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs))) ** Step 5.a:2: Ara WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs))) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/1,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: Ara {araHeuristics = NoHeuristics, minDegree = 1, maxDegree = 2, araTimeout = 8, araRuleShifting = Just 1} + Details: Signatures used: ---------------- @ :: ["A"(9) x "A"(9)] -(0)-> "A"(9) dd :: ["A"(0) x "A"(9)] -(9)-> "A"(9) nil :: [] -(0)-> "A"(9) nil :: [] -(0)-> "A"(15) rev :: ["A"(9)] -(3)-> "A"(9) shuffle# :: ["A"(9)] -(5)-> "A"(5) c_5 :: ["A"(0)] -(0)-> "A"(15) Cost-free Signatures used: -------------------------- Base Constructor Signatures used: --------------------------------- "c_5_A" :: ["A"(0)] -(0)-> "A"(1) "dd_A" :: ["A"(0) x "A"(1)] -(1)-> "A"(1) "nil_A" :: [] -(0)-> "A"(1) Following Still Strict Rules were Typed as: ------------------------------------------- 1. Strict: shuffle#(dd(x,xs)) -> c_5(shuffle#(rev(xs))) 2. Weak: ** Step 5.b:1: DecomposeDG WORST_CASE(?,O(n^2)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) - Weak DPs: shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: DecomposeDG {onSelection = all below first cut in WDG, onUpper = Nothing, onLower = Nothing} + Details: We decompose the input problem according to the dependency graph into the upper component rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) and a lower component @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) Further, following extension rules are added to the lower component. rev#(dd(x,xs)) -> @#(rev(xs),dd(x,nil())) rev#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) *** Step 5.b:1.a:1: SimplifyRHS WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) - Weak DPs: shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: SimplifyRHS + Details: Consider the dependency graph 1:S:rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)) -->_2 rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)):1 2:W:shuffle#(dd(x,xs)) -> rev#(xs) -->_1 rev#(dd(x,xs)) -> c_3(@#(rev(xs),dd(x,nil())),rev#(xs)):1 3:W:shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) -->_1 shuffle#(dd(x,xs)) -> shuffle#(rev(xs)):3 -->_1 shuffle#(dd(x,xs)) -> rev#(xs):2 Due to missing edges in the depndency graph, the right-hand sides of following rules could be simplified: rev#(dd(x,xs)) -> c_3(rev#(xs)) *** Step 5.b:1.a:2: Ara WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: rev#(dd(x,xs)) -> c_3(rev#(xs)) - Weak DPs: shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/1,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: Ara {araHeuristics = NoHeuristics, minDegree = 1, maxDegree = 2, araTimeout = 8, araRuleShifting = Just 1} + Details: Signatures used: ---------------- @ :: ["A"(4) x "A"(4)] -(0)-> "A"(4) dd :: ["A"(0) x "A"(1)] -(1)-> "A"(1) dd :: ["A"(0) x "A"(4)] -(4)-> "A"(4) nil :: [] -(0)-> "A"(4) nil :: [] -(0)-> "A"(14) rev :: ["A"(4)] -(0)-> "A"(4) rev# :: ["A"(1)] -(2)-> "A"(0) shuffle# :: ["A"(4)] -(12)-> "A"(0) c_3 :: ["A"(0)] -(0)-> "A"(12) Cost-free Signatures used: -------------------------- Base Constructor Signatures used: --------------------------------- "c_3_A" :: ["A"(0)] -(0)-> "A"(1) "dd_A" :: ["A"(0) x "A"(1)] -(1)-> "A"(1) "nil_A" :: [] -(0)-> "A"(1) Following Still Strict Rules were Typed as: ------------------------------------------- 1. Strict: rev#(dd(x,xs)) -> c_3(rev#(xs)) 2. Weak: *** Step 5.b:1.b:1: Ara WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) - Weak DPs: rev#(dd(x,xs)) -> @#(rev(xs),dd(x,nil())) rev#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> rev#(xs) shuffle#(dd(x,xs)) -> shuffle#(rev(xs)) - Weak TRS: @(dd(x,xs),ys) -> dd(x,@(xs,ys)) @(nil(),ys) -> ys rev(dd(x,xs)) -> @(rev(xs),dd(x,nil())) rev(nil()) -> nil() - Signature: {@/2,rev/1,shuffle/1,@#/2,rev#/1,shuffle#/1} / {dd/2,nil/0,c_1/1,c_2/0,c_3/2,c_4/0,c_5/2,c_6/0} - Obligation: innermost runtime complexity wrt. defined symbols {@#,rev#,shuffle#} and constructors {dd,nil} + Applied Processor: Ara {araHeuristics = NoHeuristics, minDegree = 1, maxDegree = 2, araTimeout = 8, araRuleShifting = Just 1} + Details: Signatures used: ---------------- @ :: ["A"(5) x "A"(5)] -(0)-> "A"(5) dd :: ["A"(0) x "A"(1)] -(1)-> "A"(1) dd :: ["A"(0) x "A"(5)] -(5)-> "A"(5) nil :: [] -(0)-> "A"(5) nil :: [] -(0)-> "A"(15) nil :: [] -(0)-> "A"(11) rev :: ["A"(5)] -(0)-> "A"(5) @# :: ["A"(1) x "A"(0)] -(2)-> "A"(0) rev# :: ["A"(5)] -(1)-> "A"(0) shuffle# :: ["A"(5)] -(1)-> "A"(0) c_1 :: ["A"(0)] -(0)-> "A"(1) Cost-free Signatures used: -------------------------- Base Constructor Signatures used: --------------------------------- "c_1_A" :: ["A"(0)] -(0)-> "A"(1) "dd_A" :: ["A"(0) x "A"(1)] -(1)-> "A"(1) "nil_A" :: [] -(0)-> "A"(1) Following Still Strict Rules were Typed as: ------------------------------------------- 1. Strict: @#(dd(x,xs),ys) -> c_1(@#(xs,ys)) 2. Weak: WORST_CASE(?,O(n^3))